package com.frank.oj.config;

import com.frank.model.entity.problem.Language;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * @author frank
 * @Date 2024/3/31
 */
@Configuration
@Data
@ConfigurationProperties(prefix = "check-language-config")
public class CheckLanguageConfig {

    private List<Language> list;

    @Override
    public String toString() {
        return "AntPoolConfigList{" +
                "list=" + list +
                '}';
    }
}
